package autoz.core.problems;

public class UmlProblem {
	private String problem;
	private String zLocation;
	private String umlLocation;
	private int zLineNumber;
	
	private boolean matched; // Whether or not the error has been matched to a diagram
	
	public UmlProblem(String problem, String zLocation, int zlineNumber){
		this.problem = problem;
		this.zLocation = zLocation;
		this.umlLocation = "";
		this.zLineNumber = zlineNumber;
		this.setMatched(false);
	}
	
	public String getProblem(){
		return problem;
	}
	
	public String getSchemaLocation(){
		return zLocation;
	}
	
	public void setUMLLocation(String umlLocation){
		this.umlLocation = umlLocation;
	}
	
	public String getUMLLocation(){
		return umlLocation;
	}
	
	public int getZLineNumber(){
		return zLineNumber;
	}

	public void setMatched(boolean matched) {
		this.matched = matched;
	}

	public boolean isMatched() {
		return matched;
	}
}
